<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <%@ include file="/include/meta.jsp"%>
    <title>修改字典项</title>
    <link rel="stylesheet" type="text/css" href="wro/edit.css" />
</head>
<body>
    <form action="system/dictionary!saveForUpdateItem.action" style='display:none;'>
        <input type="hidden" name="dictionaryType.id" value="${dictionaryType.id}"/>
        <input type="hidden" name="dictionaryItem.id" value="${dictionaryItem.id}"/> 
        <input type="hidden" id="parentId" value="${dictionaryItem.parentId}"/> 
        <input type="text" title="*名称" id='name' name="dictionaryItem.name" value="${dictionaryItem.name}" />
        <input type="text" title='显示名' id='nameDisplay' name="dictionaryItem.nameDisplay"  value="${dictionaryItem.nameDisplay}" />
        <textArea title="备注" id='memo' name="dictionaryItem.memo" rows="5">${dictionaryItem.memo}</textArea>
        <div class="text-center">
            <input type="submit" value="提交" class='btn btn-primary' />
            <input type="button" value="取消" class='btn btn-warning' onclick="closeDialog();" />
        </div>
    </form>
    <script type="text/javascript" src="wro/edit.js"></script>
    <script type="text/javascript" src="res/page/system/dictionary_update_item.js"></script>
</body>
</html>